<template>
  <h2>A组件</h2>
  <h2>msg:{{ msg }}</h2>
</template>
<script lang="ts" setup>
import { inject } from "vue";
const msg = inject("msg");
</script>

<style lang="less" scoped></style>
